package com.jinmdz.fmis.core.annotation;

import java.lang.annotation.*;

/**
 * 菜单按钮授权
 *
 * @author LiCongLu
 * @date 2020-04-02 09:16
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@Repeatable(AnAuthorizes.class)
@Documented
public @interface AnAuthorize {

    /**
     * 授权菜单地址
     *
     * @return
     */
    String menu() default "";

    /**
     * 授权按钮地址
     *
     * @return
     */
    String[] buttons() default {};
}
